Developer --> Technical Publications
PATHJava Developer Documentation > Mac OS Runtime for Java > JManager > Programming With JManager


Properties and Client-Specific Session Data

Since the session is a JMSessionRef object, you can assign or change properties associated with it. You can do this using the functions JMGetSessionProperty and JMPutSessionProperty. These functions correspond respectively to the Java methods java.lang.System.getProperty and java.lang.System.setProperty . If the property name you specify does not exist, then JManager creates a new property with that name.

You can also read or set optional client data for a given session using the functions JMGetSessionData and JMSetSessionData. For example, if you have multiple sessions running at the same time, you might want to store specific data with each one.


© 1998 Apple Computer, Inc. — (Last Updated 3 Dec 98)

Previous | Back Up One Level | Next |